package com.hfdg.authority.entity;


import com.hfdg.prototype.base.annotations.Column;
import com.hfdg.prototype.base.annotations.Table;
import com.hfdg.prototype.base.entity.BaseEntity;

import java.sql.JDBCType;

/**
 * @ClassName AuthMenu
 * @Description TODO
 * @Author yuelh
 * @Date 2019/3/22 8:55
 * @Version 1.0
 * @Company 会飞的锅工作室
 **/
@Table(name = "auth_menu",title = "权限菜单",comment = "权限菜单")
public class AuthMenu extends BaseEntity {
    @Column(title = "父级菜单ID",type = JDBCType.VARCHAR,length = 255,comment = "父级菜单ID")
    String parentUid;
    @Column(title = "菜单名称",type = JDBCType.VARCHAR,length = 255,comment = "菜单标题")
    String name;
    @Column(title = "菜单地址",type = JDBCType.VARCHAR,length = 1024,comment = "菜单地址")
    String href;
    @Column(title = "菜单图标",type = JDBCType.VARCHAR,length = 255,comment = "菜单图标，font-awesome图标")
    String icon;
    @Column(title = "是否可见",type = JDBCType.CHAR,length = 16,comment = "是否可见")
    String visable;
    public String getParentUid() {
        return parentUid;
    }
    public void setParentUid(String parentUid) {
        this.parentUid = parentUid;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getHref() {
        return href;
    }
    public void setHref(String href) {
        this.href = href;
    }
    public String getIcon() {
        return icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
    }
    public String getVisable() {
        return visable;
    }
    public void setVisable(String visable) {
        this.visable = visable;
    }
}
